package com.sxjh.entity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 物料
 * </p>
 *
 * @author zixin
 * @since 2021-06-05
 */
@Data
public class MaterialAddParam implements Serializable {

    @ApiModelProperty(value = "物料名称")
    @NotBlank(message = "物料名称不能为空")
    private String name;

    @ApiModelProperty(value = "id")
    private Integer id;
}
